package test;
import java.util.*;
public class YootkDemo14 {
    public static void main(String[] args) throws Exception{
        List<String> all=new LinkedList<>();
        all.add("yootk.com");
        all.add("www.yootk.com");
        all.add("yootk");
        System.out.println("【获取索引为0的数据】"+all.get(0));
        System.out.println("【获取索引为1的数据】"+all.get(1));
        System.out.println("【获取索引为9的数据】"+all.get(9));
    }
}
